﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML
        xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
    <META content="IE=11.0000"
          http-equiv="X-UA-Compatible">

    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <TITLE></TITLE>
    <LINK href="/css/style.css" rel="stylesheet" type="text/css">
    <META name="GENERATOR" content="MSHTML 11.00.10586.420">
    <style>

    </style>
</HEAD>
<BODY>
<DIV class="wrap" id="header"><IMG src="/images/logo.gif"></DIV>
<DIV class="wrap" id="navbar">
    <DIV class="profile">您好，admin <SPAN class="return"><A href="/showList?updateKey=0">返回列表</A></SPAN>
        <SPAN class="addnew"><A href="/add.html">添加新投票</A></SPAN>
        <SPAN class="modify"><A href="http://localhost:8080/myVote/Subject-modify.action">维护</A></SPAN>
        <SPAN class="return"><A
                href="/logOut">注销</A></SPAN></DIV>
    <DIV class="search">
        <FORM action="Subject-search.action" method="post">
            <INPUT name="keywords" class="input-text" type="text">
            <INPUT
                    name="submit" class="input-button" type="submit" value=""/>
        </FORM>
    </DIV>
</DIV>
<DIV class="wrap" id="vote">
    <H2>查看投票</H2>
    <UL class="list">
        <LI>
            <H4 th:text="${stringObjectMapt.get('vs_title')}">哪个浏览器好用</H4>
            <P class="info">共有 [[${stringObjectMapt.get('countVo')}]] 个选项，已有 [[${stringObjectMapt.get('countVi')}]]
                个投票。</P>
            <OL>
                <LI th:each="map : ${checkNumTicket}">[[${map.vo_option}]]
                    <DIV class="rate">
                        <DIV class="ratebg">
                            <DIV class="percent"
                                 th:style="@{'width:'+(${map.countVi}/${stringObjectMapt.countVi}*100)+'%;'}"></DIV>
                        </DIV>
                        <P>[[${map.countVi}]]票<SPAN>([[${map.countVi}/${stringObjectMapt.countVi}*100]]%)</SPAN></P></DIV>
                </LI>

            </OL>
            <DIV class="goback"><A href="/showList">返回投票列表</A></DIV>
        </LI>
    </UL>
</DIV>
<DIV class="wrap" id="footer"> 北大青鸟 © 版权所有</DIV>
</BODY>
</HTML>
